<?php
	$id_klaim = $_POST['id_klaim'];
	$status = $_POST['status_verifikasi'];
	
	foreach($status as $key=>$val){
		if($val !="0"){
			$sql_update="update klaim set id_status='".$val."' where id_klaim='".$id_klaim[$key]."'";
			//echo $sql_update;
			$qry_update=mysql_query($sql_update);
		}
	}
	
	
	$url_sukses='utama.php?module=mod_verifikasi_jamkesmas';
	if($qry_klaim){
		echo "<meta http-equiv='refresh' content='0; url=$url_sukses'>";
		exit;
	}else{
		echo mysql_error();
	}
?>